<template>
  <div>
    <el-dialog
      title="编辑套餐"
      :visible.sync="editEnterpriseConfigDialog"
      width="width"
      @close="close"
    >
      <el-form ref="form" :model="form" label-width="130px">
        <el-row :gutter="10">
          <el-col :span="11">
            <el-form-item label="套餐名称">
              <el-input placeholder=""></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="2"> &nbsp; </el-col>
          <el-col :span="11">
            <el-form-item label="使用视频面试">
              <el-radio-group v-model="radio">
                <el-radio :label="3">允许</el-radio>
                <el-radio :label="6">不允许</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="11">
            <el-form-item label="价格">
              <el-input placeholder="">
                <template slot="append">元</template>
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="2">&nbsp;</el-col>
          <el-col :span="11">
            <el-form-item label="收到简历免费查看">
              <el-radio-group v-model="radio">
                <el-radio :label="3">允许</el-radio>
                <el-radio :label="6">不允许</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10" type="flex">
          <el-col :span="11">
            <el-form-item label="时长">
              <el-input placeholder="">
                <template slot="append">元</template>
              </el-input>
              <!-- <i class="el-icon-info"></i> -->
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="11">
            <el-form-item label="开启限时特惠">
              <el-radio-group v-model="radio">
                <el-radio :label="3">开启</el-radio>
                <el-radio :label="6">关闭</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
          <el-col :span="2">&nbsp;</el-col>
          <el-col :span="11">
            <el-form-item label="是否推荐">
              <el-radio-group v-model="radio">
                <el-radio :label="3">推荐</el-radio>
                <el-radio :label="6">不推荐</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="11">
            <el-form-item label="特惠购买价">
              <el-input placeholder="">
                <template slot="append">元</template>
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="2">&nbsp;</el-col>
          <el-col :span="11">
            <el-form-item label="允许申请">
              <el-radio-group v-model="radio">
                <el-radio :label="3">允许</el-radio>
                <el-radio :label="6">不允许</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="11">
            <el-form-item label="特惠时间">
              <el-date-picker
                v-model="value1"
                type="daterange"
                range-separator="至"
                start-placeholder="开始日期"
                end-placeholder="结束日期"
                disabled
              >
              </el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="2">&nbsp;</el-col>
          <el-col :span="11">
            <el-form-item label="是否显示">
              <el-radio-group v-model="radio">
                <el-radio :label="3">显示</el-radio>
                <el-radio :label="6">隐藏</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
            <el-col :span="11">
              <el-form-item label="下载简历点数">
                <el-input placeholder=""></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="2">&nbsp;</el-col>
            <el-col :span="11">
              <el-form-item label="下载简历上限">
                <el-input placeholder="">
                  <template slot="append">份/天</template>
                </el-input>
                <!-- <i class="el-icon-info"></i> -->
              </el-form-item>
            </el-col>
        </el-row>
         <el-row :gutter="10">
            <el-col :span="11">
              <el-form-item label="赠送积分数">
                <el-input placeholder=""></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="2">&nbsp;</el-col>
            <el-col :span="11">
              <el-form-item label="免费刷新职位">
                <el-input placeholder="">
                  <template slot="append">份/天</template>
                </el-input>
                <!-- <i class="el-icon-info"></i> -->
              </el-form-item>
            </el-col>
        </el-row>
         <el-row :gutter="10">
            <el-col :span="11">
              <el-form-item label="同时在线职位数">
                <el-input placeholder=""></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="2">&nbsp;</el-col>
            <el-col :span="11">
              <el-form-item label="套餐增值包折扣">
                <el-input placeholder="">
                </el-input>
                <!-- <i class="el-icon-info"></i> -->
              </el-form-item>
            </el-col>
        </el-row>
         <el-row :gutter="10">
            <el-col :span="11">
              <el-form-item label="职聊次数">
                <el-input placeholder=""></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="2">&nbsp;</el-col>
            <el-col :span="11">
              <el-form-item label="排序">
                <el-input placeholder="">
                  <template slot="append">份/天</template>
                </el-input>
                <!-- <i class="el-icon-info"></i> -->
              </el-form-item>
            </el-col>
        </el-row>
         <el-row :gutter="10">
            <el-col :span="11">
              <el-form-item label="允许发起聊天数">
                <el-input placeholder="">
                  <template slot="append">次/天</template>
                </el-input>
              </el-form-item>
            </el-col>
            <el-col :span="2">&nbsp;</el-col>
        </el-row>
        <el-row :gutter="10">
            <el-col :span="11">
              <el-form-item label="其他说明">
                <el-input type="textarea" placeholder=""></el-input>
              </el-form-item>              
            </el-col>
            <el-col :span="2"></el-col>
            <el-col :span="11">
              <el-form-item label="图标"></el-form-item>
            </el-col>
        </el-row>
        <el-row :gutter="10" justify="center">
            <el-col :span="3">
              <el-button type="primary" size="small">保存</el-button>
            </el-col>
            <el-col :span="6">
              <el-button size="small">取消</el-button>
            </el-col>
        </el-row>
      </el-form>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: {
    editEnterpriseConfigDialog: {
      type: Boolean,
    },
  },
  data() {
    return {};
  },
  methods: {
    close() {
      this.$emit("update:enterpriseConfigDialog", false);
    },
  },
};
</script>

<style scoped></style>
